﻿using AuthorityCenter.Model;
using Ldt.SettingCenter.Core;
using LdtCommonFreeSql;
using LdtCommonLibraryHttp;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
using TxtSearch.Bll;
using TxtSearch.Model;

namespace TxtSearch.Webapi.Controllers
{
    /// <summary>
    /// Class TxtSearchController.
    /// Implements the <see cref="Microsoft.AspNetCore.Mvc.ControllerBase" />
    /// </summary>
    /// <seealso cref="Microsoft.AspNetCore.Mvc.ControllerBase" />
    [ApiController]
    [Route("api/main")]
    public class OperController : ControllerBase
    {
        private readonly ILogger<OperController> logger;
        private readonly ServiceBll serviceBll;
        /// <summary>
        /// Initializes a new instance of the <see cref="OperController"/> class.
        /// </summary>
        /// <param name="logger">The logger.</param>
        /// <param name="freesqlDb">The freesql database.</param>
        /// <param name="settingCenter">The setting center.</param>
        /// <param name="serviceBll"></param>
        public OperController(ILogger<OperController> logger, FreesqlDb freesqlDb, ServiceBll serviceBll, IHttpHelper httpHelper)
        {
            this.logger = logger;
            this.serviceBll = serviceBll;
        }
    }
}
